/* 文章容器样式 */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 32px 80px;
}

/* 文章头部样式 */
.article-header {
    margin-bottom: 40px;
}

.article-meta {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.article-category {
    background: rgba(108, 92, 231, 0.2);
    color: #6c5ce7;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.article-date {
    color: #b2bec3;
    font-size: 15px;
}

.article-header h1 {
    font-family: 'Arial Black', sans-serif;
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #f1f1f1, #00cec9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(24, 25, 31, 0.5), rgba(15, 16, 20, 0.7));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 206, 201, 0.3);
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #00cec9;
    margin-bottom: 4px;
}

.author-bio {
    color: #b2bec3;
    font-size: 14px;
}

/* 文章封面图 */
.article-featured-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.article-featured-image::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6c5ce7, #00cec9);
    background-size: 200%;
    z-index: -1;
    border-radius: 18px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 文章内容样式 */
.article-content {
    font-size: 18px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 30px;
    color: #e1e1e1;
}

.article-content h2 {
    font-size: 28px;
    margin: 50px 0 25px;
    color: #00cec9;
    position: relative;
    padding-bottom: 10px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #ff7675;
}

blockquote {
    border-left: 3px solid #6c5ce7;
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #d1d1d1;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    color: #b2bec3;
    font-style: normal;
    font-size: 16px;
}

.content-image {
    margin: 50px 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-caption {
    text-align: center;
    margin-top: 12px;
    color: #b2bec3;
    font-size: 16px;
}

.content-list {
    margin: 20px 0 30px 30px;
}

.content-list li {
    margin-bottom: 15px;
    color: #e1e1e1;
}

.content-list li::marker {
    color: #6c5ce7;
}

/* 文章标签 */
.article-tags {
    margin: 60px 0 70px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-tags span {
    color: #b2bec3;
    font-size: 16px;
}

.article-tags .tag {
    display: inline-block;
    margin: 0 8px 10px;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.article-tags .tag:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: rgba(108, 92, 231, 0.4);
    transform: translateY(-2px);
}

/* 作者其他文章 */
.author-other-posts {
    margin: 70px 0;
    padding: 30px;
    background: linear-gradient(145deg, rgba(24, 25, 31, 0.5), rgba(15, 16, 20, 0.7));
    border-radius: 12px;
}

.author-other-posts h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #f1f1f1;
}

.other-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.other-post-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e1e1e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.other-post-item:last-child {
    border-bottom: none;
}

.other-post-item:hover {
    color: #00cec9;
    transform: translateX(5px);
}

.other-post-date {
    color: #b2bec3;
    font-size: 15px;
}

/* 相关推荐 */
.related-posts {
    margin: 80px 0 40px;
}

.related-posts h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.4s ease;
    background: linear-gradient(145deg, rgba(24, 25, 31, 0.6), rgba(15, 16, 20, 0.8));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.related-post-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.related-post-title {
    padding: 20px 15px;
    font-size: 16px;
    color: #e1e1e1;
    line-height: 1.5;
}

.related-post-card:hover .related-post-title {
    color: #00cec9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 32px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .related-post-card img {
        height: 200px;
    }
}
